<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <block name="title">   
  </block>
  <block name="link">
  </block>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo">思政网人员管理系统</div>

    <!-- 头部区域（可配合layui已有的水平导航） -->
    <ul class="layui-nav layui-layout-left">
      <li class="layui-nav-item"><a href="">控制台</a></li>
    </ul>

    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item" >
        <a href="javascript:;">
          <img src="http://t.cn/RCzsdCq" class="layui-nav-img" >
          <span id="name1">D-lyw</span>
        </a>
        <dl class="layui-nav-child">
          <dd><a href="{:U('Home/User/showSelf')}">基本资料</a></dd>
          <dd><a href="">安全设置</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item"><a href="{:U('Home/User/logout')}"> Exit</a></li>
    </ul>

  </div>
  
  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">

      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree"  lay-filter="test">

        <li class="layui-nav-item layui-nav-itemed">
          <a class="" href="javascript:;">用户管理</a>
          <dl class="layui-nav-child">
            <dd><a href="{:U('Home/User/showSelf')}">个人信息</a></dd>
            <dd><a href="{:U('Home/User/showUser')}">全部人员</a></dd>
            <dd><a href="{:U('Home/User/showAddUser')}">添加用户</a></dd>
            <!-- <dd><a href="javascript:;">列表三</a></dd> -->
            <!-- <dd><a href="">超链接</a></dd> -->
          </dl>
        </li>
        
        <li class="layui-nav-item">
          <a class="layui-nav-itemed" href="javascript:;">学习记录</a>
          <dl class="layui-nav-child">
            <dd><a href="{:U('NoteManage/Note/showSelf')}">个人记录</a></dd>
            <dd><a href="{:U('NoteManage/Note/showNote')}">全部记录</a></dd>
          </dl>
        </li>

        
        <li class="layui-nav-item">
          <a href="javascript:;">考勤管理</a>
          <dl class="layui-nav-child">
            <dd><a href="/sz_management/index.php/Attendance/Index/profile">个人考勤</a></dd>
            <dd><a href="/sz_management/index.php/Attendance/Index/history">所有考勤</a></dd>
            <dd><a href="/sz_management/index.php/Attendance/Index/admin">考勤人</a></dd>
          </dl>
        </li>

        <li class="layui-nav-item">
          <a href="javascript:;">会议管理</a>
          <dl class="layui-nav-child">
            <dd><a href="/sz_management/index.php/MeetingManage/Conference/show_con">会议记录</a></dd>
            <dd><a href="/sz_management/index.php/MeetingManage/Conference/create_con">添加记录</a></dd>
          </dl>
        </li>

        <li class="layui-nav-item">
          <a href="javascript:;">培训记录</a>
          <dl class="layui-nav-child">
            <dd><a href="/sz_management/index.php/TrainManage/train/showlist">培训记录</a></dd>
            <dd><a href="/sz_management/index.php/TrainManage/train/tianjia">添加培训</a></dd>
          </dl>
        </li>

        <li class="layui-nav-item">
          <a href="javascript:;">任务管理</a>
          <dl class="layui-nav-child">
            <dd><a href="javascript:;">发布任务</a></dd>
            <dd><a href="javascript:;">任务队列</a></dd>
            <dd><a href="javascript:;">个人任务</a></dd>
          </dl>
        </li>

        <li class="layui-nav-item">
          <a href="javascript:;">文件管理</a>
          <dl class="layui-nav-child">
            <dd><a href="/sz_management/index.php/FileManage/File/ShowConfer">管理会议文件</a></dd>
            <dd><a href="/sz_management/index.php/FileManage/File/ShowTrain">管理培训文件</a></dd>
            <dd><a href="/sz_management/index.php/FileManage/File/ShowStudy">管理学习记录文件</a></dd>
          </dl>
        </li>

        <li class="layui-nav-item">
          <a href="javascript:;">数据统计</a>
          <dl class="layui-nav-child">
            <dd><a href="../../Datastatistics/Stat/index1.html">考勤 会议</a></dd>
            <dd><a href="../../Datastatistics/Stat/index2.html">任务 培训 学习</a></dd>
          </dl>
        </li>
      <!--   <li class="layui-nav-item"><a href="">云市场</a></li>
        <li class="layui-nav-item"><a href="">发布商品</a></li> -->
      </ul>

    </div>
  </div>
  
    <!-- 内容主体区域 -->

  <block name="content">
        <!-- <include file="./Application/Home/View/public/content.html"/> -->

  </block>
  
  <!-- <div class="layui-footer">
    底部固定区域
    @ 思政2018 前端 各位小伙伴加油!
  </div> -->
</div>

<!-- 引用layui.js代码 -->
<block name="js">
<script type="text/javascript" src="../source/jquery-3.2.1.js"></script>
<script>
$.ajax({
  url:'/sz_management/index.php/Home/User/getname'
  ,success:function(data)
  {
    alert(data.name);
    $('#name1').text(data.name);
  }
})

</script>
</block>



</body>
</html>